package org.i_plus.model.services;

import org.i_plus.model.TarotBean;
import org.i_plus.model.TarotDAO;

public class TarotService {
	private TarotDAO dao = null;
	public TarotService(TarotDAO dao){
		this.dao = dao;
	}
	
	public TarotBean selectByNum(TarotBean bean){
		TarotBean result =null;
		if(bean!=null && bean.getNum()!=0){
			result = dao.selectT(bean.getNum());
			
		}
		return result;
	}
	
	
}
